package com.quwan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quwan.entity.TCommentFollow;
import org.apache.ibatis.annotations.Insert;

/**
*
*
* @author quan
* @date 2021-12-09 15:37
*/
 

public interface TCommentFollowMapper extends BaseMapper<TCommentFollow> {
    @Insert("insert into t_comment_follow(un_lock,comment_id,status)" +
            "values (#{unLock} ,#{commentId} ,#{status})" +
            "ON duplicate key update status =#{status} ")
    Integer followComment(TCommentFollow commentFollow);
}